<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:replace="/navbar::header(新增用户)">
</head>
<body class="bj1">
<div class="container">
    <br>
    <br>
    <br>
    <br>
    <form method="POST"  style="margin-left: 32%;margin-top:6%;border-radius: 2px 2px 2px 2px;width: 450px;height: 350px;background-color: rgba(0, 0, 0, 0.1)" th:action="@{/admin/user/save}">
        <br>
        <h5 style="margin-left: 40%;margin-top: 20px">新增用户</h5>
        <p th:text="${msg2}"></p>
        <div class="form-group" style="width: 80%;margin-left: 10%">
            <input class="form-control" placeholder="用户名称" th:name="uName" th:type="text" >
        </div>
        <br>

        <div class="form-group" style="width: 80%;margin-left: 10%">
            <input class="form-control" placeholder="用户密码" th:name="uPassword" th:type="text" >
        </div>
        <br>
        <div class="form-group" style="width: 80%;margin-left: 10%">
            <input class="form-control" placeholder="电话号码" th:name="number" th:type="text" >
        </div>
        <br>
        <div class="form-group" style="width: 20%;margin-left: 10%">
            <select class="form-control" th:name="gender" >
                <option th:value="男">男</option>
                <option th:value="女">女</option>
            </select>
        </div>
        <br>
        <br>
        <button class="btn btn-info" style="margin-left: 17%" type="submit">新建用户</button>
        <a class="btn btn-danger" style="margin-left: 25%" th:href="@{/admin/user}">取消新建</a>
    </form>
</div>
</body>
</html>